package com.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pojo.User;

public interface UserDao {
	public User queryone(@Param("account") String account,
			@Param("password") String password);

	public Map<String, Object> querynickname(@Param("id") String id);

	public void add(@Param("account") String account,
			@Param("password") String password,
			@Param("nickname") String nickname);

	public List<User> query(@Param("account") String account);
}
